Skip to content

Conversation

@AMB895
Copy link

@AMB895 AMB895 commented Oct 3, 2024

No description provided.

@@ -0,0 +1,114 @@
function [] = runICAs(inpath, outpath, task, varargin)
%% this script runs ICA on all filtered/cleaned/epoched EEG dmt data.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a windows style carriage return new line (\r\n)!
Not a problem for maltab but will lead to hours of debugging when it shows up in a text file that e.g. AFNI might want to read.

echo -e 'a\n\rb' | while read x; do echo "*${x}*"; done
*a*
b*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants